home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
util
/
cdity
/
ntrash21.lha
/
newtrashcan
/
install
/
install_2.1+
/
english
< prev
next >
Wrap
Text File
|
1993-08-15
|
1KB
|
40 lines
; NewTrashcan Installer
(set handdir
(askdir (prompt "Select dir for NT-Handler")
(default "sys:WBStartup")
(help @askdir-help)))
(copyfiles (source "//WBStartup/")
(dest handdir)
(pattern "#?")
(infos))
(set dirname
(askdir (prompt "Select dir for NT-Prefs")
(default "sys:Prefs")
(help @askdir-help)))
(copyfiles (source "//Prefs/")
(dest dirname)
(pattern "#?")
(infos))
(set locale
(getassign "Locale" "a"))
(if locale
( (set sloc (cat "//Locale/" @language "/"))
(set dloc (cat "Locale:catalogs/" @language "/"))
(copyfiles (source sloc)
(dest dloc)
(pattern "#?"))
))
(if (askbool (help @askbool-help)
(prompt "Do you want to start the handler now?")
(choices "YES" "NO"))
((set nt (cat "run " handdir "/NewTrashcan install"))
(run nt))
)
(exit "Done!\n" "NewTrashcan will be started in every booting.")